toolbox/src/exampleCode/inventor/ivcalc README ivcalc - a 3D calculator built with the Inventor graphics toolkit ivcalc is a full function infix calculator. In the default operation ivcalc comes up as a simple four function calculator. Pressing the SGI button expands ivcalc into a full function scientific calculator. NOTE: ivcalcDeluxe.sh The application uses an Inventor provided viewer. This viewer has many useful features built-in for manipulating the object, changing certain rendering parameters, etc. Basically a subset of the SceneViewer functinality. In order to spin and view the calculator in different orientations press the the rightmost mousebutton (MB3) and select Viewing. The cursor now changes into a hand and by using MB1/MB2 you can rotate/translate the calculator. In order to use the calculator again you need to turn off viewing by selecting it in the MB3 popup menu. You can toggle between these two modes by using the ESC key as well. There are several command line options available for enhancing the appearance and functionality of the calculator. % ivcalc -help usage: [-options ...] where options include: -niceBtns rounded buttons -niceBase rounded base -textures apply textures to buttons and base -outputFile write out Inventor scenegraph to calc.iv -thickText 3D text with exagerated depth -audio button sounds, etc -kbdAnimate buttons are animated when kbd input used -maxWhizzy turn on all extra enhancements (except kbdAnimate) this option is only intended to be used on machines with hi-end graphics with texture hardware in place. -help print this usage message The default locations for the filenames for the option features like audio, texture mapping and modeled components are set as fallback resources to point to the current directory. If you want to have ivcalc executable from anywhere you should modify the IVcalc resource file entries to point to where you intend to install them. There are commented out entries with default system locations for those files as a suggestion. Also included in this directory is an icon for the calculator, ivcalc.icon. Copy this file into /usr/lib/images if you want ivcalc to use this icon when the application is iconified.
Source
Documentation
Images
Audio
Data
Reference